package com.mall.wechat.model.entity;

import com.mall.common.annotation.Excel;
import com.mall.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@ApiModel("微信用户表")
public class WxUserEntity extends BaseEntity {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("userId")
    private Long userId;

    @ApiModelProperty("电话号")
    @Excel(name = "电话号")
    private String phone;

    @ApiModelProperty("用户昵称昵称")
    @Excel(name = "用户昵称昵称")
    private String nickName;

    @ApiModelProperty("用户头像图片")
    @Excel(name = "用户头像图片")
    private String avatarUrl;

    @ApiModelProperty("用户性别 0 男 1 女 2 未知")
    @Excel(name = "用户性别 0 男 1 女 2 未知")
    private Integer sex;

    @ApiModelProperty("微信小程序openid")
    @Excel(name = "微信小程序openid")
    private String openId;

    @ApiModelProperty("微信小程序unionId")
    @Excel(name = "微信小程序unionId")
    private String unionId;

    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;


    private String sexName;

}
